﻿using System;
using System.Runtime.Serialization;

namespace ibba.src.norisk.Contracts
{
    [DataContract]
    [KnownType(typeof(DeParaProdutoItau))]
    [KnownType(typeof(DeParaEstrategia))]
    [KnownType(typeof(DeParaAreaInstitucional))]
    public abstract class ADePara
    {
        [DataMember(Name = "IdDePara")]
        public int IdDePara { get; set; }

        [DataMember(Name = "CodigoUsuarioIncluiu")]
        public string CodUsuarioIncluiu { get; set; }

        [DataMember(Name = "DataInclusao")]
        public DateTime DataInclusao { get; set; }

        [DataMember(Name = "TipoAcaoSQL")]
        public Enums.eTipoAcaoSQL TipoAcaoSQL { get; set; }

        [DataMember(Name = "UtilizaProcessamento")]
        public bool UtilizaProcessamento { get; set; }
    }
}
